package com.hybrid.urlintercept;

import java.util.HashMap;
import java.util.Map;

/**
 * 在此写用途
 *
 * @author: zhiwei
 * @date: 2017-10-09 22:36
 * @version: 9.1.0
 */
public class WVURLInterceptData {
    public static class URLInfo {
        /**
         * 原始链接
         */
        public String url;

        /**
         * 业务代码
         */
        public int code;

        /**
         * 业务信息
         */
        public String feature;

        /**
         * 匹配规则
         */
        public String rule;

        /**
         * 参数
         */
        public Map<String, String> params = new HashMap<String, String>();

        public URLInfo() {
        }

    }

    public static class RuleData {
        public RuleData() {
        }

        public int target;
        public String pattern;
        public int rutype;
        public boolean needdecode = true;
        public Map<String, Integer> indexp = new HashMap<String, Integer>();
        public Map<String, String> namep = new HashMap<String, String>();

    }
}
